﻿namespace cn.school.Models.Res;

public class CommonResponse
{
    public object? Data { get; set; } = null;
    public short Code { get; set; } = 200;
    public string? Message { get; set; } = "";

    public static CommonResponse Success(object? data)
    {
        return new CommonResponse { Code = 200, Data = data };
    }
}
